package cn.kgm.orderStatus;

public class OrderController {

    public static void main(String[] args) {

        Order order = Order.builder()
                .status("NOSUBMIT")
                .build();
        order.setOrderState(AstractOrderState.getOrderStateByState(order));
        order.getOrderState().submit();

    }
}
